package com.jjh.mapper;

import com.jjh.pojo.Taocan;
import com.jjh.pojo.ref.TaocanDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaocanDishMapper {
    int addBatch(List<TaocanDish> dishList);

    TaocanDish getById(Integer id);

    List<TaocanDish> getByTaocanid(Integer taocanId);

    void updateById(TaocanDish taocanDish);

    Integer deleteByTid(Integer taocanId);
}
